package org.his.pojo.yaopin;

import java.io.Serializable;
import java.util.Objects;

public class Ypgl implements Serializable {
    private Integer ypid;
    private String ypname;
    private String zyc;
    private String ypdw;
    private String ypshuoming;
    private String yplsj;
    private Integer ypkc;
    private String shouzimu;
    private String pinyin;

    public String getShouzimu() {
        return shouzimu;
    }

    public void setShouzimu(String shouzimu) {
        this.shouzimu = shouzimu;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public Integer getYpid() {
        return ypid;
    }

    public void setYpid(Integer ypid) {
        this.ypid = ypid;
    }

    public String getYpname() {
        return ypname;
    }

    public void setYpname(String ypname) {
        this.ypname = ypname;
    }

    public String getZyc() {
        return zyc;
    }

    public void setZyc(String zyc) {
        this.zyc = zyc;
    }

    public String getYpdw() {
        return ypdw;
    }

    public void setYpdw(String ypdw) {
        this.ypdw = ypdw;
    }

    public String getYpshuoming() {
        return ypshuoming;
    }

    public void setYpshuoming(String ypshuoming) {
        this.ypshuoming = ypshuoming;
    }

    public String getYplsj() {
        return yplsj;
    }

    public void setYplsj(String yplsj) {
        this.yplsj = yplsj;
    }

    public Integer getYpkc() {
        return ypkc;
    }

    public void setYpkc(Integer ypkc) {
        this.ypkc = ypkc;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Ypgl that = (Ypgl) o;
        return Objects.equals(ypid, that.ypid) &&
                Objects.equals(ypname, that.ypname) &&
                Objects.equals(zyc, that.zyc) &&
                Objects.equals(ypdw, that.ypdw) &&
                Objects.equals(ypshuoming, that.ypshuoming) &&
                Objects.equals(yplsj, that.yplsj) &&
                Objects.equals(ypkc, that.ypkc);
    }

    @Override
    public int hashCode() {
        return Objects.hash(ypid, ypname, zyc, ypdw, ypshuoming, yplsj, ypkc);
    }
}
